<template>
  <h1>{{ test('Vue2组件写法测试') }}</h1>
</template>

<script lang="ts">
export default {
  name: "Test2",
  methods: {
    test(str:string) {
      return str.split('').join(' ')
    }
  }
}
</script>

<style scoped>

</style>
